package com.ruoyi.system.domain.young;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联系我们对象 y_contactus
 *
 * @author ruoyi
 * @date 2025-01-10
 */
public class YContactus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phonenumber;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 主营业务 */
    @Excel(name = "主营业务")
    private String mainBusiness;

    /** 合作意向 */
    @Excel(name = "合作意向")
    private String cooperationIntention;

    /** 是否回访：0否 1是 */
    @Excel(name = "是否回访：0否 1是")
    private String isVisit;

    /** 是否删除 */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setMainBusiness(String mainBusiness)
    {
        this.mainBusiness = mainBusiness;
    }

    public String getMainBusiness()
    {
        return mainBusiness;
    }
    public void setCooperationIntention(String cooperationIntention)
    {
        this.cooperationIntention = cooperationIntention;
    }

    public String getCooperationIntention()
    {
        return cooperationIntention;
    }
    public void setIsVisit(String isVisit)
    {
        this.isVisit = isVisit;
    }

    public String getIsVisit()
    {
        return isVisit;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userName", getUserName())
                .append("phonenumber", getPhonenumber())
                .append("companyName", getCompanyName())
                .append("mainBusiness", getMainBusiness())
                .append("cooperationIntention", getCooperationIntention())
                .append("isVisit", getIsVisit())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
